/*表单 按钮*/
.el-input__inner {
  border: 1px solid $c_input_border;
}

.el-input-group__append {
  border: 1px solid $c_input_border;
  border-left: none;
}

// 使用 type="text" 时加class="el-text-success"
.el-button--text { // 不加样式默认primary
  &.el-text-success{
    color: $--color-success !important;
    &:hover {
      color: $--color-success !important;
    }
  }
  &.el-text-warning{
    color: $--color-warning !important;
    &:hover {
      color: $--color-warning !important;
    }
  }
  &.el-text-danger{
    color: $--color-danger !important;
    &:hover {
      color: $--color-danger !important;
    }
  }
  &.el-text-info{
    color: $--color-info !important;
    &:hover {
      color: $--color-info !important;
    }
  }
  &.el-text-check {
    color:$--color-check !important;
    &:hover {
      color: $--color-check !important;
    }
  }
  &.el-btn-success{
    color: #2eff24!important;
    &:hover {
      color: #2eff24!important;
    }
  }
}

/*element menu 重置*/

.el-menu-vertical-demo:not(.el-menu--collapse) {
  width: 160px;
  min-height: 400px;
}
.el-menu--collapse {
  width: 45px;
}
.el-menu-item {
  padding-left: 10px !important;
  .sub-scorll-lien {
    display: inline-block;
    width: 10px;
    margin-left: 30px;
  }
  &.submenu-one{
    height: 45px !important;
    line-height: 45px !important;;
    i {
      display: inline-block;
      vertical-align: middle;
      margin-right: 5px;
      width: 24px;
      text-align: center;
      font-size: 16px;
    }
  }
  &:foucs i {
    color: inherit;
  }
  &.isred{
    &:hover, &.is-active{
      background: url('~@/assets/img/ment-red.png') no-repeat 2px center;
      background-size: 200px 50px;
      color: #666 !important;
      i {color: inherit;}
    }
  }
  &.isblue{
    &:hover, &.is-active{
      background: url('~@/assets/img/ment-blue.png') no-repeat 2px center;
      background-size: 200px 50px;
      color: #666 !important;
      i {color: inherit;}
    }
  }
}
.el-submenu{
  & [class^=el-icon1-] {
    vertical-align: middle;
    margin-right: 5px;
    width: 24px;
    text-align: center;
    font-size: 18px;
  }
  &.isred .el-submenu__title{
    &:hover {
      background: url('~@/assets/img/ment-red.png') no-repeat 2px center;
      background-size: 200px 50px;
      color: #666 !important;
      i {
        color: inherit;
      }
    }
  }
  &.isblue .el-submenu__title{
    &:hover {
      background: url('~@/assets/img/ment-blue.png') no-repeat 2px center;
      background-size: 200px 50px;
      color: #666 !important;
      i {
        color: inherit;
      }
    }
  }
  .el-submenu__title {
    height: 45px;
    line-height: 45px;
    font-size: 16px !important;
    padding: 0 10px !important;
    span {
      font-size: 16px !important;
    }
    i.el-submenu__icon-arrow{
      display: none !important;
    }
  }
}


/**.submenu-one {

}*/

/*element table 重置*/
.base-table-wrap {
  /*border-right:1px solid $c_tabale-border;*/
  position: relative;
  background: #fff;
  .el-table__header {
    background: $c_tabale-bg;
    box-sizing: border-box;
  }
  .custom_header {
    line-height: 40px;
    background: $c_tabale-bg;
  }
  .el-table {
    thead {
      th {
        background: $c_tabale-bg;
      }
      th.is-leaf {
        line-height: 30px;
      }
      th.is-leaf .cell {
        font-size: 15px;
        color: $c_title-word;
        font-weight: normal !important;
      }
    }
    tr td {

    }
  }
}
/*element table dialog*/
.el-dialog__body {
  max-height: 600px;
  overflow-y: auto;
}

.el-dialog {
  .el-dialog__header {
    height: 47px;
    line-height: 47px;
    padding: 0 10px;
    background-color: $c_dialog_head_bg;
    border-bottom: 1px solid $c_dialog_title_border;
    .el-dialog__title {
      font-size: 16px;
    }
    .el-dialog__close{
      color: #333 !important;
    }
    .back-title {
      display: inline-flex;
      height: 47px;
      align-items: center;
      color: $c_dialog_title_word;
      font-size: 15px;
      font-weight: bold;
      cursor: pointer;
      span, i {
        margin-right: 5px;
        font-size: 15px;
        font-weight: bold;
      }
    }
    .el-dialog__headerbtn {
      top: 15px;
    }
    .el-dialog__close {
      color: #fff;
    }
  }
  .el-dialog__body {
    max-height: 600px !important;
    padding: 10px !important;
  }
}

.login-username i.el-icon1-erp-tubiao211 {
  font-size: 20px;
}

.login-password i.el-icon1-erp-mima {
  font-size: 21px;
}

/*busnt-myant 页面重置select样式*/
.table-wrap .table .sort {
  margin: 0 10px;
}

.main-ranking-select .el-select .el-input {
  width: 100px;
}

/*上传图片*/
.pt-base-uoload .el-upload {
  display: block !important;
  width: 100% !important;
  height: 100%;
}
/*表单验证的label行高*/
.base-search-more {
  border: 1px solid $c_search-border;
  margin-bottom: 40px;
  padding: 18px 15px 0 15px;
}

/*表单验证的label行高*/
.base-search-line {
  margin-bottom: 40px;
  padding: 18px 15px 0 15px;
}

/**/
.num-int .el-badge__content {
  top: 4px !important;
  right: 10px !important;
}
/**/
.num-text .el-badge__content {
  top: 16px !important;
  right: 8px !important;
}
.no-add-less{
  .el-input-number__decrease,.el-input-number__increase{
    display: none;
  }
  .el-input{
    .el-input__inner{
      padding: 0 !important;
    }
  }
}
.el-input-number{
  .el-input-number__decrease,.el-input-number__increase{
    display: none;
  }
}
.el-input-number--small .el-input__inner{
  padding: 0 15px!important;
}
